﻿using BW.EatRabbit.API.Dtos;
using BW.EatRabbit.ErrorCode;
using MediatR;

namespace BW.EatRabbit.API.Application.Commands
{
    /// <summary>
    /// 登录命令
    /// </summary>
    public class LoginQueryCommand:IRequest<APIResult<UserDTO>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPass { get; set; }
    }
}
